<template>
  <div class="search360 search-button" v-on:click="xiu">360搜索</div>
</template>

<script>
export default {
  name: 's360-search',
  data () {
    return {
      myData: {
        myUrl: 'https://www.so.com/s',
        uname: 'q',
        message: '360搜索'
      }
    }
  },
  methods: {
    xiu () {
      this.$emit('pa', this.myData)
    }
  }
}
</script>

<style scoped>
@import "button.css";
.search360{
  color: #20803e;
}
@media screen and (max-width: 415px){
  div{
    display: none;
  }
}
</style>
